﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.Sqlite.Models
{
    [Table(nameof(Company))]
    public class Company : EntityBase
    {
        private string name;
        public string Name { get => name; set=> SetProperty(ref name,value); }

        private string contact;
        public string Contact { get => contact;set=> SetProperty(ref contact,value); }

        private string telephone;
        public string Telephone { get => telephone; set=>SetProperty(ref telephone,value);}

        private int rank;
        public int Rank { get => rank; set => SetProperty(ref rank, value); }
    }
}
